package com.canton.dao.entity;

import lombok.Data;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;

import java.io.Serializable;

/**
 * @Author: Sure
 * @Date: 2022-04-25 17:04
 */
@Data
@NodeEntity(label = "气候")
public class DiseaseNode implements Serializable {
    @Id

    private Long Id;

    @Property(name = "名称")
    private String name;

    @Property(name = "image")
    private String image;

    @Property(name = "color")
    private String color;
}
